<%--
  Created by IntelliJ IDEA.
  User: DaHa
  Date: 2021/3/22
  Time: 21:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
	<title>Title</title>
	<script src="https://cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
	<link href="https://cdn.bootcss.com/pace/1.0.2/themes/pink/pace-theme-flash.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="plugins/layui/css/layui.css" media="all"/>
	<link rel="stylesheet" type="text/css" href="css/fs.css" media="all"/>
	<script type="text/javascript" src="plugins/layui/layui.js"></script>
	<script type="text/javascript" src="plugins/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="plugins/frame/js/fs.js?v=1.5.0"></script>
	<script type="text/javascript" src="plugins/frame/js/frame.js?v=1.5.0"></script>
</head>
<body>

<div>
	<table id="fsDatagrid" lay-filter="fsDatagrid" class="fsDatagrid" isLoad="1" url="/announcement"
		   isPage="1" defaultForm="query_form" height="full-135" page-size="10" >
	</table>
	<div class="fsDatagridCols">
		<p type='numbers' title='序号' />
		<p field='title' title='标题' width='200' />
		<p field="detail" title="内容" width="200"/>
		<p field="publishDate" title="发布时间" templet="<div>{{layui.fsUtil.toDateString(d.publishDate, 'yyyy-MM-dd HH:mm:ss')}}</div>" width="180" />
		<p fixed="right" align="center" toolbar="#barDemo" title="操作" width="220"/>
	</div>
</div>

<script type="text/html" id="barDemo">
	<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="top" topUrl="notificationDetail.jsp"
	   topMode="readonly" topWidth="800px" topHeight="350px" topTitle="查看公告信息" inputs="id:">查看</a>
</script>
</body>
</html>
